﻿using MyFloridaHouse.libSvOpenDistricts.Criteria;
using System.ComponentModel;

namespace MyFloridaHouse.libSvOpenDistricts.SummaryDataGrid
{
    public class DataGridColumnDescription : INotifyPropertyChanged
    {

        #region INotifyPropertyChanged
        public event PropertyChangedEventHandler PropertyChanged;
        protected void NotifyPropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
        #endregion

        public string name;
        public string header;
        public string description;
        public DataGridColumnDescriptionValueType valueType;
        public CriteriaDatasetDTO critera;


        public DataGridColumnDescription(string name, string header, string description, DataGridColumnDescriptionValueType valueType, CriteriaDatasetDTO criteria)
        {
            this.name = name;
            this.header = header;
            this.description = description;
            this.valueType = valueType;
            this.critera = criteria;
        }

    }
}
